package com.vehicle_information_management_system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.vehicle_information_management_system.pojo.DrivingCostInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.data.relational.core.sql.In;

import java.math.BigDecimal;
import java.util.List;

/**
* @author huawei
* @description 针对表【driving_cost_info】的数据库操作Service
* @createDate 2025-02-17 10:08:19
*/
public interface DrivingCostInfoService extends IService<DrivingCostInfo> {
    IPage<DrivingCostInfo> getDrivingCostInfo(Integer pageNum,Integer pageSize,String search);

    void add(DrivingCostInfo drivingCostInfo);

    void delete(Integer id);

    void update(DrivingCostInfo drivingCostInfo);

    Double getDrivingCostInfoByMonth();

    List<DrivingCostInfo> getDrivingCostInfoByUserId(Integer userId);
}
